package com.frxuexi.lib_http

import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit

abstract class BaseRetrofitImpl:HttpRetrofit {

    fun createHttpBuilder():OkHttpClient.Builder{
        return OkHttpClient.Builder()
            .readTimeout(10,TimeUnit.SECONDS)
            .writeTimeout(10,TimeUnit.SECONDS)
            .connectTimeout(10,TimeUnit.SECONDS)
    }
}